package demo3;

import demo3.Clothes;
import org.springframework.stereotype.Component;

/**
 * T恤
 */
@Component("summer")
public class Shirt implements Clothes {
    public void wear(){
        System.out.println("穿上T恤");
    }
}
